package cn.edu.scau.cmi.linyiqu.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AbstractFactoryClient extends Application{

	 @Override
	    public void start(Stage primaryStage) throws Exception{
		 	FXMLLoader loader = new FXMLLoader(getClass().getResource("/cn/edu/scau/cmi/linyiqu/abstractFactory/MainUI.fxml"));
			Parent root = loader.load();
	        primaryStage.setTitle("抽象工厂模式");
	        primaryStage.setScene(new Scene(root, 800, 500));
	        primaryStage.show();
	    }


	    public static void main(String[] args) {
	        launch(args);
	    }
}